package com.culture.config.model.po;

import java.util.Map;

import javax.validation.constraints.NotBlank;

import lombok.NoArgsConstructor;
import lombok.ToString;

@lombok.Data
@ToString(exclude = "metadata")
@NoArgsConstructor
public class RegistrationPO {
	@NotBlank(message="name can't be empty.")
    private String name;
	@NotBlank(message="managementUrl can't be empty.")
	private String managementUrl;
	private String healthUrl;
	@NotBlank(message="serviceUrl can't be empty.")
	private String serviceUrl;
	private String source;
	private Map<String, String> metadata;	
	private String serviceIp;
	private String sessionId;
}
